package com.wnhz.wnmap.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("order_tab")
public class Order {
    @TableId(value = "order_id", type = IdType.AUTO)
    private Long id;

    @TableField("order_num")
    private Long num; //雪花id

    @TableField("order_audit")
    private Long audit;

    @TableField("order_seats")
    private Integer seats;

    @TableField("order_cinema")
    private Long cinema;

    @TableField("order_create_time")
    private Date createTime;

    @TableField("order_update_time")
    private Date updateTime;

    @TableField("order_create_by")
    private String createBy;
    
}
